<script src="js/proinfo/purchase/acceptanceConfirmation1.js"></script>
<!--main content start-->
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        添加供应商
                    </header>
                    <div class="panel-body">
                        <div class="bio-row">
                            <p>
                                <span>项目名称</span>{{headerMap.proName}}</p>
                        </div>
                        <div class="bio-row">
                            <p><span>申请人</span>{{headerMap.applyManname}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请时间</span>{{headerMap.applyTime}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请用途</span>{{headerMap.useFul}}</p>
                        </div>
                        <div class="bio-row line-row">
                            <p>申请说明</p>
                            <p>{{headerMap.descriptor}}</p>
                        </div>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading add-heading">
                        采购清单
                        <i class="add-icon icon-eye-open" onclick="showAllQuote();"> 全部报价</i>
                    </header>
                    <div class="panel-body">
                        <div id="priceContainer" class="dlshouwen-grid-container"></div>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading">
                        供应商列表
                    </header>
                    <div class="panel-body">
                        <div id="pryslContainer" class="dlshouwen-grid-container"></div>
                    </div>
                </section>

                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <section class="panel">
                                <div class="panel-heading add-heading">
                                    验收信息
                                    <i class="add-icon icon-remove" data-dismiss="modal" aria-hidden="true"></i>
                                </div>
                                <div class="panel-body">
                                    <div class="form-group customerForm" ng-disabled="true">
                                        <label class="col-sm-2 control-label">实收数量</label>
                                        <div class="col-sm-10">
                                            <input type="text" onkeyup="clearNoNum(this)"  onblur="clearNoNum(this)" certus-required-polyfill string-to-number ng-model="acceptance.recievedNum" class="form-control">
                                        </div>
                                    </div>
                                    <div class="form-group customerForm" ng-disabled="true">
                                        <label class="col-sm-2 control-label">单位</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" certus-required-polyfill ng-model="acceptance.unit" placeholder="请填写计数单位,例如:个、台等……">
                                        </div>
                                    </div>
                                    <div class="form-group customerForm" ng-hide="true">
                                        <label class="col-sm-2 control-label">采购单位</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" certus-required-polyfill ng-model="acceptance.acceptanceResolve" >
                                                <option ng-repeat="x in select.acceptanceResolveSelect" value = "{{x.code}}">
                                                    {{x.name}}
                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group customerForm" >
                                        <label class="col-sm-2 control-label">验收单位</label>
                                        <div class="col-sm-10">
                                            <select class="form-control" certus-required-polyfill ng-model="acceptance.itAcceptance" >
                                                <option ng-repeat="x in select.itAcceptanceSelect " value="{{x.code}}">
                                                    {{x.name}}
                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <p class="default-buttons">
                                        <a href="javascript:void(0);" class="button-back btn btn-info" data-dismiss="modal" aria-hidden="true">取消</a>
                                        <a href="javascript:void(0);" class="button-next  btn btn-info btn-l10" ng-click="admitAcceptance(sbsb.bqCode,sbsb.biCode)">确认</a>
                                    </p>
                                </div>
                                <div class="panel-bg"></div>
                            </section>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal-dialog -->
                </div>

                <section class="panel">
                    <header class="panel-heading">
                        留言
                    </header>
                    <div class="panel-body">
                        <div class="form-group customerForm">
                            
                                <textarea class="form-control"  maxlength="120"  certus-required ng-model="submmitData.purchaseStepEntity.opinionMsg"></textarea>
                
                        </div>
                        
                    </div>
                </section>
                <section class="panel">
                    <div class="panel-body">
                            <p class="default-buttons">
                                    <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                                    <!-- <a href="javascript:void(0);" class="button-back btn btn-warning btn-l10">退回</a> -->
                                    <a href="javascript:void(0);" class="button-next  btn btn-success btn-l10"  ng-click="approvalAgreementSubmit()">确认提交</a>
                                    <!-- <a href="javascript:void(0);" class="button-next btn btn-danger ">不通过</a> -->
                                </p>
                    </div>
                </section>
            </div>
        </div>
    </section>
</section>